package com.springboot.news.service;

import com.springboot.news.domain.po.User;

public interface UserService {
    User findByUserName(String userName);
    void register(String username, String password);
    void update(User user);
    void updateAvatar(String avatarUrl);

    void resetPassword(String newPwd);
}
